package com.mtnz.njk.Mapper;

import com.mtnz.njk.entity.NjkUserEntity;
import com.mtnz.njk.model.EveryDayExcelModel;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface NjkUserManageMapper extends Mapper<NjkUserEntity> {
    //获取月
    Integer monthSign(@Param("createTime") String createTime);

    //获取日
    Integer todaySign(String createTime) throws Exception;

    //全部完成
    Integer monthTaskAll(String createTime) throws Exception;

    Integer todayTaskAll(String createTime) throws Exception;

    //每个任务
    Integer monthTask(Integer taskType, String createTime) throws Exception;

    Integer todayTask(Integer taskType, String createTime) throws Exception;

    //每日导出excel数
    List<EveryDayExcelModel> todaySevenTaskEnd(@Param("createTime") String createTime) throws Exception;

    // 查询用户信息
    List<NjkUserEntity> listUserInfo(@Param("serviceId") String serviceId, @Param("isConnection") Integer isConnection, @Param("isVIP") Integer isVIP, @Param("key") String key) throws Exception;
}
